<%@page import="com.wanmait.shoppingsys.vo.Admin"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<html lang="en">
<head>
	<%String path = request.getServletContext().getContextPath();%>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>特产一号店-登录</title>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/reset.css">
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/main.css">
</head>
<body>
	<div class="login_top clearfix">
		<a href="manage.jsp" class="login_logo"><img src="<%=path %>/images/logo.png"></a>	
	</div>

	<div class="login_form_bg">
		<div class="login_form_wrap clearfix">
			<div class="login_banner fl"></div>
			<div class="slogan fl">日夜兼程 · 急速送达</div>
			<div class="login_form fr">
				<div class="login_title clearfix">
					<h1>管理员登录</h1>
				</div>
				
				<% 
				String err = request.getParameter("err");
				if(err!=null&&err.equals("1")){
				%>
				<p class="err">对不起，用户名或者密码错了！</p>
				<%
				}
				if(err!=null&&err.equals("2")){
				%>
					<p class="err">账户已被冻结！</p>
				<%
				}
				%>
				<div class="form_input">
					<form action="<%=path%>/AdministratorController?action=login" method="post">
						<input type="text" name="name" class="name_input" placeholder="请输入用户名">
						<div class="user_error">输入错误</div>
						<input type="password" name="pass" class="pass_input" placeholder="请输入密码">
						<div class="pwd_error">输入错误</div>
						<div class="more_input clearfix">
							<input type="checkbox" name="">
							<label>记住用户名</label>
						</div>
						<input type="submit" name="" value="登录" class="input_submit">
					</form>
				</div>
			</div>
		</div>
	</div>

<jsp:include page="/manageinc/footer.jsp"></jsp:include> 